home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_03_06
/
3n06062b
< prev
next >
Wrap
Text File
|
1992-04-07
|
907b
|
31 lines
#-------------------------------------------------------------------------
# This makefile builds the device driver BOOT.SYS and the TSR TSRBOOT.COM
#
# I use Borland's Turbo Assembler and Turbo Linker. If you've got some
# other language products you may need to tweak the makefile a bit.
# I'm running DR-DOS 6.0 on my development system and they've provided
# EXE2BIN with DR-DOS.
#-------------------------------------------------------------------------
# Use these for Microsoft stuff
#ASM = MASM
#LNK = LINK
# Use these for Borland stuff
ASM = TASM
LNK = TLINK
all : boot.sys tsrboot.com
boot.sys : boot.asm
$(ASM) boot;
$(LNK) boot,boot,nul;
exe2bin boot.exe boot.sys
del boot.exe
tsrboot.com : tsrboot.asm
$(ASM) tsrboot;
$(LNK) tsrboot,tsrboot,nul;
exe2bin tsrboot.exe tsrboot.com
del tsrboot.exe